import request from './request'

export const list = (data) => {
  return request({
    url: '/expenditure/list',
    method: 'POST',
    data
  })
}

export const save = (data) => {
  return request({
    url: '/expenditure/save',
    method: 'POST',
    data
  })
}
export const saveList = (data) => {
  return request({
    url: '/expenditure/saveList',
    method: 'POST',
    data
  })
}
export const modify = (data) => {
  return request({
    url: '/expenditure/modify',
    method: 'POST',
    data
  })
}

export const remove = (id) => {
  return request({
    url: '/expenditure/remove?ids=' + id,
    method: 'POST'
  })
}
